Bind an array of shader resources to the shader stage.
シンタックス
'宣言
Public Overloads Sub SetShaderResources( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal ParamArray () As ShaderResourceView _
)
public void SetShaderResources(
System.int ,
System.int ,
params ShaderResourceView[]
)
パラメータ
- startSlot
- Index into the device's zero-based array to begin setting shader resources to (ranges from 0 to D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1).
- numViews
- Number of shader resources to set. Up to a maximum of 128 slots are available for shader resources (ranges from 0 to D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - StartSlot).
- shaderResourceViews
- Array of {{shader resource view}} interfaces to set to the device.
参照